package com.bianmaba.activiti.controller.authorization.resource;

import com.bianmaba.spring.web.controller.ReadController;
import com.bianmaba.activiti.beans.entity.authorization.Resource;
import com.bianmaba.activiti.service.authorization.resource.IResourceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by cwx183898 on 2017/8/10.
 */
@RestController
@RequestMapping(value = {"authorization/resource"})
public class ResourceController extends ReadController<Resource, String> {

    @Autowired
    private IResourceService service;

    @Override
    protected IResourceService getService() {
        return service;
    }


}
